laravel redirect action

49

Redirect::route('profile') and with() in laravel -

// For a route with the following URI: profile/{id}

return redirect()->route('profile', [$user]);

Redirect::route('profile') and with() in laravel -

// For a route with the following URI: profile/{id}

return redirect()->route('profile', ['id' => 1]);

Comments

Submit
0 Comments